Blockly.Blocks['number1'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("../res1/number1.png", 150, 75, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(230);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.Blocks['number2'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("../res1/number2.png", 150, 75, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(230);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.Blocks['number3'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("../res1/number3.png", 150, 75, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(230);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.JavaScript['number1'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = "#number1";
    return code;
  };

  Blockly.JavaScript['number2'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = '#number2';
    return code;
  };

  Blockly.JavaScript['number3'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = '#number3';
    return code;
  };